import Vue from 'vue';
import App from './App.vue'
import axios from './http'
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from './router'
import store from './store'


Vue.use(Element)


// Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;
//全局挂载axios
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
// createApp(App).use(store).use(router).mount('#app')